﻿using DongFangGuoKai.WMSPlatform.Domain.Models;
using DongFangGuoKai.WMSPlatform.Service.Permissions.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.WMSPlatform.Service.Permissions
{
    public interface IPermissionService
    {
        bool AddMenuAction(TMenuActionDTO m);
        bool DelMenuItem(int mid);
        List<MenuRoleMenuActionDto> GetMenuActionList(int rid);

        bool AddRoleMenuAction(CRoleMenuAction m);
        List<UserRoleMenuAction> GetMenuitemAction(int uid);
        bool DelRole(int rid);
        List<MenuDto> GetRoleMenuActionList();
    }
}
